<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="/page" prefix="public"%>
<public:pageControl classPath="app.monitorbs.system.cpu.CpuMonitorPage"/>
<script>

	function cpuTableGrid_onRowClickAfter(grid,page){
		
		var cpuForm = page.find("cpuForm");
		
		cpuForm.value("CPU_MHZ",grid.getFieldValue("CPU_MHZ"));
		cpuForm.value("CPU_VENDER",grid.getFieldValue("CPU_VENDER"));
		cpuForm.value("CPU_CACHE",grid.getFieldValue("CPU_CACHE"));
		cpuForm.value("CPU_MODEL",grid.getFieldValue("CPU_MODEL"));
		
		cpuForm.progress("CPU_USER_PERC",grid.getFieldValue("CPU_USER_PERC"));
		cpuForm.progress("CPU_SYS_PERC",grid.getFieldValue("CPU_SYS_PERC"));
		cpuForm.progress("CPU_WAIT_PERC",grid.getFieldValue("CPU_WAIT_PERC"));
		cpuForm.progress("CPU_NICE_PERC",grid.getFieldValue("CPU_NICE_PERC"));
		cpuForm.progress("CPU_IDEL_PERC",grid.getFieldValue("CPU_IDEL_PERC"));
		cpuForm.progress("CPU_COMBIED_PERC",grid.getFieldValue("CPU_COMBIED_PERC"));
		
	}

</script>